package cn.cyh.queue_service.mq.event;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 验证事件消息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VerifyEvent implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 事件类型
     */
    private String eventType = "VERIFY";
    
    /**
     * 票号
     */
    private String ticketNumber;
    
    /**
     * 窗口ID
     */
    private Long windowId;
    
    /**
     * 是否验证通过
     */
    private boolean verified;
    
    /**
     * 相似度
     */
    private Double similarity;
    
    /**
     * 时间戳
     */
    private Long timestamp;
    
    /**
     * 业务类型ID
     */
    private Long serviceTypeId;
    
    /**
     * 验证结果描述
     */
    private String verifyResult;
} 